package it.uni.bo.monitoring.sla.chain.availability;

import org.apache.log4j.Logger;

public class Reliability {

	private long maxFailures;
	private Double window;
	private Logger l;

	public Reliability(long maxFailures, Double window) {
		l = Logger.getLogger(this.getClass());
		this.maxFailures=maxFailures;
		this.window=window;
		l.info("Reliability maxFailures: "+maxFailures+" wind: "+window);
	}
	
	public long getMaxFailures() {
		return maxFailures;
	}

	public Double getWindow() {
		return window;
	}

}
